package com.yida.wy.common.domain;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基础数据（业主）对象
 *
 * @author lqq
 * @date 2023-11-21
 */
@Data
@Table("gwj_base_owner")
@ApiModel(value = "基础数据（业主信息）对象")
public class WyBaseOwner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @ApiModelProperty(value= "业主ID")
    private Long ownerId;

    @ApiModelProperty(value= "房屋标识码")
    private String houseCode;

    @ApiModelProperty(value= "业主名称")
    private String ownerName;

    @ApiModelProperty(value= "证件号码")
    private String cardNum;

    @ApiModelProperty(value= "手机号码")
    private String ownerPhone;

    @ApiModelProperty(value= "地区ID")
    private Long areaId;

    @ApiModelProperty(value= "街道ID")
    private Long streetId;

    @ApiModelProperty(value= "是否是导入自建楼盘(0=否,1=是)")
    private String importFlag;
}
